
public class BurnnerThread extends Thread
{
	private String threadName;
	private int id;
	private int wtf_value;
	
	public BurnnerThread (int id, int value)
	{
		this.id = id;
		this.wtf_value = value;
		threadName = Integer.toString(value);
	}
	
	public void WTF (int n)
	{
		for (int value = 1; value <= n; value++)
		{
			boolean isok = true;
			for (int i = 2; i*i < n; i++)
			{
				if (n % i == 0)
				{
					isok = false;
				}
			}
		}
	}
	
	public void run ()
	{
		this.WTF(this.wtf_value);
		System.out.printf("%03d : %s : Done\n", this.id, this.threadName);
		//System.out.println(this.id + " : " + this.threadName + " : Done");
	}
}
